package auth.sys;

/**
 * @author futao
 * Created on 2017/11/28 - 10:08.
 */
public class Menu {
    /**
     * 父菜单 mall
     */
    private String route;
    /**
     * mall
     */
    private String name;
    /**
     * menu/menu-mall
     */
    private String moduleId;
    /**
     * title 商城
     */
    private String title;
    /**
     * roleType
     */
    private Integer roleType;
    /**
     * 是否隐藏
     * 相当于hide
     * 但是一级菜单的时候用的是nav
     */
    private Boolean nav;
    private Auth[] auth;
//    /**
//     * 角色类型
//     */
//    private int roleType;
//    /**
//     * auth 权限
//     */
//    private ArrayList<Auth> auth;


    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Boolean getNav() {
        return nav;
    }

    public void setNav(Boolean nav) {
        this.nav = nav;
    }

    public Auth[] getAuth() {
        return auth;
    }

    public void setAuth(Auth[] auth) {
        this.auth = auth;
    }
}
